home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Tampa Bay Amiga Group / TBAG - Tampa Bay Amiga Group's Disk of the Month #20 (1988)(Merlin's Software)(PD).zip / TBAG - Tampa Bay Amiga Group's Disk of the Month #20 (1988)(Merlin's Software)(PD).adf / Doc-Files / Graphics.Doc < prev    next >
Text File  |  1988-05-30  |  14KB  |  346 lines

  1.  
  2. Graphics Docs
  3. This file includes Documentation for all files in the Graphics Drawer. They 
  4. have all been combined into one to save disk space.
  5.  
  6. The Docs included in this file are:
  7. QuickFlix
  8. MazeMan
  9. MakeAnim
  10.  
  11. Doc File Headers are in RED!
  12.  
  13.  
  14.  
  15. *****************************************************************************
  16.  
  17.  
  18.  
  19.  
  20.                            QuickFlix Rev 0.12
  21.  
  22.     Copyright (c) 1987  Jeff Kunzelman, Rodney Iwashina, Takeshi Suganuma
  23.   If you like this program please feel free to send a donation ($10.00)
  24.   payable to:
  25.           Rodney Iwashina  11333 Yolanda Ave.  Northridge, Ca. 91326
  26.  
  27.   You can make as many copies of this program as you like and give it to
  28.   all your friends, on the condition that you abide by these guidelines:
  29.  
  30.      The copy(s) (including documentation) must remain unmodified
  31.      and intact.
  32.      The copy(s) cannot be sold for money or profit, except by the
  33.      original authors.
  34.      At the time of transfer, the new recipient(s) agree(s) to the above
  35.      guidelines.
  36.  
  37.   Suggestions and comments of any kind can be sent to the above address
  38.   or through CIS (76224,102).  We hope that you enjoy this shareware!
  39.  
  40.  
  41. Introduction:
  42.  
  43.         QuickFlix is an IFF slideshow and cel animation program.
  44.         It takes full advantage of the Amiga's multi-tasking operating
  45.         system by creating multiple tasks to manage each of its
  46.         resources, communicating via executive messages and ports,
  47.         and sharing data in a common memory pool.  QuickFlix supports
  48.         the LO-RES, HI-RES, NON-INTERLACE, INTERLACE, and HAM modes of
  49.         the Amiga.  QuickFlix can be commanded to run independently
  50.         or can be triggered by an external source.  A stand-alone
  51.         slideshow or animation sequence can be gernerated when
  52.         QuickFlix is run independently.  External triggering allows a
  53.         user to interactively control the slideshow or animation.
  54.         QuickFlix implements a caching system that pre-loads pictures
  55.         into memory.  This feature allows QuickFlix to support the
  56.         rapid frame rate necessary for cel animation.
  57.  
  58.  
  59. CLI Usage:
  60.  
  61.         QuickFlix [-t<tick rate>] [-l<log file>] <script file> ...
  62.  
  63.         <script file> is the name of the script file containing the
  64.                 names of the pictures, the special effects information,
  65.                 and the timing information.  All timing information is
  66.                 expressed in number of ticks.  Multiple script files
  67.                 may be chained together by specifying them on the
  68.                 command line.
  69.  
  70.         -t<tick rate> indicates the timer tick rate, where <tick rate>
  71.                 is a decimal integer from 0 to 60, corresponding to tick
  72.                 rates of 0 to 60 ticks per second.  When the tick rate is
  73.                 set to 0, the external triggering is enabled.  This
  74.                 option defaults to 30 tick per second.
  75.  
  76.         -l<log file> designates the file to log informational and error
  77.                 messages.  If this option is not specified, no log file
  78.                 will be created.
  79.  
  80.         QuickFlix can be exited at any time by pressing the ESC key or
  81.                 <CTRL> C; holding the CTRL key down and pressing the C key.
  82.  
  83.         usage example:
  84.  
  85.                 QuickFlix -t24 -llogfile script
  86.  
  87.                 This example will read the script information from the
  88.                 file "script", the tick rate will be 24 ticks per
  89.                 second, and the log information will be written into the
  90.                 file "logfile".
  91.  
  92.  
  93. Workbench Usage:
  94.  
  95.         QuickFlix can also be invoked from the Workbench.  A single
  96.         script can be invoked by double-clicking on the desired script
  97.         file icon.  A single script file can also be invoked by
  98.         shift-clicking (holding the SHIFT key down and clicking on the
  99.         the icon) the desired script file icon, then double-clicking
  100.         on the QuickFlix icon.  Multiple scripts can be invoked by
  101.         shift-clicking all desired script file icons, then double-clicking
  102.         on the QuickFlix icon.  When multiple scripts are selected, the
  103.         'tool types' information from the first shift-selected script
  104.         will be used for all subsequent scripts.
  105.  
  106.         Valid Tool Types:
  107.  
  108.              n=<anything> (no seperate fast memory cache)
  109.              l=<log file name>
  110.              t=<ticks per second> (t=0 = use joystick)
  111.  
  112.              All others will be ignored.
  113.  
  114.  
  115. Script Format:
  116.  
  117.         Entries in the script file must conform to the following format:
  118.  
  119.         s <picture file> - any IFF picture file
  120.  
  121.         n <ticks> - Switch to next picture in script in <ticks> ticks
  122.                 where <ticks> is a positive decimal integer.  If
  123.                 the last picture in the script includes this entry,
  124.                 QuickFlix will exit when the switch occurs, otherwise
  125.                 the last picture will remain on the screen until QuickFlix
  126.                 is manually exited via an ESC or <CTRL> C.
  127.  
  128.         i <start ticks> <end ticks> <interval ticks> <red> <green> <blue> -
  129.                 Fade in the current picture starting at <start ticks> ticks
  130.                 after the picture is switched in, end fade at <end ticks>
  131.                 ticks after the picture is switched in, fade at intervals
  132.                 of <interval ticks> ticks, and fade in from color <red>,
  133.                 <green>, <blue> where all tick values are positive decimal
  134.                 integers and all colors are hexidecimal values from 0 to f.
  135.  
  136.         o <start ticks> <end ticks> <interval ticks> <red> <green> <blue> -
  137.                 Fade out the current picture starting at <start ticks> ticks
  138.                 after the picture is switched in, end fade at <end ticks>
  139.                 ticks after the picture is switched in, fade at intervals
  140.                 of <interval ticks> ticks, and fade out to color <red>,
  141.                 <green>, <blue> where all tick values are positive decimal
  142.                 integers and all colors are hexidecimal values from 0 to f.
  143.  
  144.         c <start ticks> <end ticks> <delay factor> - Cycle color ranges
  145.                 starting at <start ticks> ticks after the picture is
  146.                 switched in, end cycling at <end ticks> ticks after the
  147.                 picture is swithced in, with a delay factor of
  148.                 <delay factor> applied to the color cycle rate where
  149.                 all values are positive decimal integers.  The color
  150.                 cycle ranges and rates are read from the IFF file.
  151.  
  152.         script example:
  153.  
  154.                 s picture1
  155.                 n 40
  156.                 i 0 0 1 0 0 0
  157.                 o 20 0 1 f f f
  158.                 s picture2
  159.                 n 60
  160.                 i 0 0 2 f f f
  161.                 o 30 0 2 0 0 0
  162.                 s picture3
  163.                 n 80
  164.                 i 0 0 1 0 0 f
  165.                 o 60 0 1 0 0 f
  166.                 c 0 0 1
  167.  
  168.                 This example will show three pictures.  The first picture
  169.                 is "picture1".  It will be shown for 40 ticks, fade in from
  170.                 black when it is switched in, and fade out to white 20
  171.                 ticks from the time it is switched in.  The second picture
  172.                 is "picture2".  I will be shwon for 60 ticks, fade in from
  173.                 white when it is switched in, and fade out to black 30
  174.                 ticks from the time it is switched in.  The third picture
  175.                 is "picture3".  It will be shown for 80 ticks, fade in
  176.                 from blue when the picture is switched in, fade out to blue
  177.                 60 ticks from the time it is switched in, and will color
  178.                 cycle the cycle ranges with a delay factor of 1.  QuickFlix
  179.                 will exit after showing this picture since it is the last
  180.                 one in the script and it specifies a switch.
  181.  
  182.  
  183. Cel Animation:
  184.  
  185.         Given the architecture of the system, cel animation becomes
  186.         a simple exercise of script manipulation.  The pictures that
  187.         make up the animation can be entered to be shown for a short
  188.         nubmer of ticks, and the tick rate can be adjusted to a reasonable
  189.         rate for animation.  The cache allows rapid switching of pictures
  190.         as long as the pictures are in the cache, otherwise the pictures
  191.         have to be read from the disk.  The cache will hold about 5
  192.         320x200x5 (typical DeluxePaint) pictures on a 512K Amiga, about
  193.         40 on a 2.5M Amiga.  These numbers will vary depending on the
  194.         resolution, interlace, and number of bit planes, because the cache
  195.         is memory dependent.  The more memory, the better, but if the
  196.         display rate exceeds the cache fill rate, the cache will
  197.         eventually get behind, causing a pause in the animation.  There
  198.         are a number of things you can do to optimize animations.
  199.         Additional memory will result in a larger cache and therefore
  200.         a higher cache hit rate.  A hard disk will increase the transfer
  201.         rate of pictures from disk to cache.  Pictures with fewer bit
  202.         planes will decrease the amount of memory needed for each picture.
  203.         Repeating short sequences of pictures in the script will allow
  204.         a higher cache hit rate.  Color cycling can be used to simulate
  205.         animation.
  206.  
  207.  
  208. External Triggering:
  209.  
  210.         External triggering allows a user to interactively control the
  211.         slideshow or animation.
  212.  
  213.         A joystick connected to port 2 of the Amiga can be used for
  214.         interactive control.  The joystick can increase or decrease
  215.         the tick rate by pushing the joystick up or pulling it back.
  216.         Pressing the joystick button at any time will enable the
  217.         single-step mode.  In this mode, each button press will cause
  218.         a timer tick to occur.  Continuous timer tick mode is re-enabled
  219.         by moving the joystick up or down.  Moving the joystick to the
  220.         right will switch to the next picture in the script.
  221.  
  222.  
  223. Known Problems:
  224.  
  225.         The picture swithing rate does not keep up with the tick rate
  226.         at tick rates exceeding about 24 frames per second.
  227.  
  228.         Fades and color cycling effects do not work on HAM pictures.
  229.  
  230.  
  231. Future Enhancements:
  232.  
  233.         We are continuously trying to improve our product.  Suggestions
  234.         and comments are more than welcome.  We would like to know what
  235.         type of application you are using QuickFlix for and any
  236.         enhancements that you would like to see incorporated into it.
  237.         Our current list of enhancements follow.
  238.  
  239.                 Repeat and reverse for script
  240.  
  241.                 External device synchronization
  242.  
  243.                 Additional special effects
  244.  
  245.  
  246. Notes:
  247.  
  248.        The logfile output option is extremly handy to determine
  249.        problems.  The logfile will keep a trace of the general
  250.        operation of the QuickFlix system.  Information will include
  251.        cache statistics and errors.  The errors will indicate
  252.        bad IFF files, memory resource problems, etc.  A good place
  253.        to put the logfile is in the ram disk (i.e. -l ram:logfile).
  254.        The log file will not be created with an icon so it must be
  255.        accessed from the CLI.
  256.  
  257.        We really are looking for comments about this program, so
  258.        drop us a note and tell us what you think.
  259.  
  260. *****************************************************************************
  261.  
  262.  
  263.  
  264.  
  265.       MAZEMAN by John James
  266.       Amiga Friends member #046
  267.  
  268.       Downloaded from 77AMIGA   (714) 772-6442 Amiga only BBS.
  269.                                 with 62meg hard drive space!!!
  270.  
  271.       The Amiga is now a real computer.....  YES! at last PACK MAN!!!
  272.  
  273.       For more information about Amiga Friends or 77AMIGA call Voice
  274.               
  275.                               (714) 635-2100
  276.  
  277. *****************************************************************************
  278.  
  279.  
  280.  
  281. MAKEANIM
  282.     Hi.
  283.  
  284.     Here's an ANIM standard compressor, which can take a series of IFF
  285.     files and combine them into a single animation file that can be
  286.     played back with ShowANIM, as well as the Director and Aegis
  287.     VideoSeg.  To create a compressed ANIM file, construct a text
  288.     file with a list of file names of frames to be assembled, one
  289.     per line:
  290.  
  291.     pictures/frame01
  292.     pictures/frame02
  293.     pictures/frame03
  294.     pictures/frame04
  295.     pictures/frame05
  296.     pictures/frame01
  297.     pictures/frame02
  298.  
  299.     Files can reside on different disks, just enter the entire path 
  300.     name (including disk name).  A requester will pop up when it's time
  301.     to put in the appropriate disk.
  302.  
  303.     If you want to create an endless loop, make sure the first two
  304.     frames are repeated at the end of the file as in the example above.
  305.  
  306.     Once the list file is created (let's call it FLIST) you then
  307.     issue the command:
  308.  
  309.     MakeANIM FLIST test.anim
  310.  
  311.     This will read the frames in one by one and create the ANIM file
  312.     with the name "test.anim".  This file can then be played back with
  313.     the abovementioned player programs.
  314.  
  315.     The program should work in any resolution including HAM, but don't
  316.     try to mix resolutions.  The color palettes should all be the same,
  317.     as this version does not handle palette changing on the fly.
  318.  
  319.     This program has been successfully used to construct standard format
  320.     ANIM files from Animate3D frames, as well as individual files created
  321.     by paint programs.
  322.  
  323.     How much memory do you need?  Good question.  The program will
  324.     create 4 buffers the size of the IFF image during compression.
  325.     Only one buffer is required to be in CHIP memory.  Lo-res shouldn't
  326.     be any trouble for anybody, but I don't know exactly where the dividing
  327.     lines are otherwise.
  328.  
  329.  
  330.  
  331. *****************************************************************************
  332.  
  333.  
  334.  
  335.  
  336.